package com.qixiucoding.link;

import com.alibaba.fastjson.JSONArray;

import java.util.Date;

/**
 * Description TODO
 * @Author LHJ_Jack
 * @Date 2021/10/14 星期四 23:51
 *
 */
public abstract class AbstractLink {
    private AbstractLink next;
    public AbstractLink next() {
        return next;
    }

    /**
     * 连接点
     * @param next
     * @return
     */
    public AbstractLink appendNext(AbstractLink next) {
        this.next = next;
        return next;
    }

    /**
     * 处理的事务，加入map
     * @param jsonArray
     * @return 审核信息
     */
    public abstract JSONArray doDeal(JSONArray jsonArray);

}
